package com.wwz.demo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ContractExtVO extends ContractVO {

    @JsonProperty("belong_sale")
    private String belongSale;

    @JsonProperty(value = "belong_sale_code")
    private String belongSaleCode;

    @JsonProperty(value = "contract_template")
    private Integer contractTemplate;

    @JsonProperty(value = "publication_id")
    private Integer publicationId;

    @JsonProperty(value = "publication_code")
    private String publicationCode;


    @JsonProperty(value = "offline_contract_id")
    private String offlineContractId;

    /**
     * 1:代表有订单，0:代表没有订单
     */
    @JsonProperty(value = "has_order")
    private Integer hasOrder;

    /**
     * 当前合同审批的roleId
     * @author songhao
     * @date 2021-06-04
     **/
    @JsonProperty(value = "role_id")
    private Integer roleId;

    /**
     *
     * @author 当前合同延期的审批人的roleid
     * @date 2021-06-04
     **/
    @JsonProperty(value = "delay_role_id")
    private Integer delayRoleId;

    @JsonProperty(value = "writeoff_status")
    public Integer writeOffStatus;


    @JsonProperty(value = "customer_ids")
    private List<Long> customerIds;

    @JsonProperty(value = "customer_names")
    private List<String> customerNames;

    @JsonProperty(value = "sign_companies")
    private List<String> signCompanies;

    @JsonProperty(value = "amount")
    private BigDecimal amount;

    @JsonProperty(value = "supply_time")
    private Long supplyTime;

    @JsonProperty(value = "operation")
    private List<Integer> operation;

    @JsonProperty(value = "is_filed")
    private Integer isFiled;


    /**
     * 前端合同list页面中的 待确认状态
     */
    @JsonProperty(value = "op_status_title")
    private String opStatusTitle;

    @JsonProperty(value = "filing_contract_id")
    private String filingContractId;

    @JsonProperty(value = "return_ratio")
    private Integer returnRatio;

}
